
local cmdname = "aids_bring"

if CLIENT then

	AIDS.RegisterCommand( "Bring to me", cmdname, "bring" ) 

else
	
	local function BringPlayer( ply, cmd, args )
	
		local target = AIDS.GetPlayer( args[1] )
		
		if target then
		
			target:SetPos( ply:GetPos() + ( ply:GetForward() * 50 ) + Vector(0,0,5) )
			
			AIDS.ChatPrint( { target, " was teleported to an admin." } )
		
		end
	
	end
	
	AIDS.AddCommand( BringPlayer, cmdname )
	
end